package io.xccit.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Xccit
 * @Date 2023-01-17
 * @Description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private Integer id;
    private String name;
    private String grade;
    private Double score;
    private Integer age;
    private String gender;
    private User user;
    public Student(Integer id, String name, String grade, Double score) {
        this.id = id;
        this.name = name;
        this.grade = grade;
        this.score = score;
    }

    public Student(Integer id, String name, String grade, Integer age) {
        this.id = id;
        this.name = name;
        this.grade = grade;
        this.age = age;
    }

    public Student(Integer id, String name, String grade, Double score, User user) {
        this.id = id;
        this.name = name;
        this.grade = grade;
        this.score = score;
        this.user = user;
    }
}
